//
//  WBHomeViewController.m
//  WeiBo
//
//  Created by ChenJunWen on 2017/11/29.
//  Copyright © 2017年 CJW. All rights reserved.
//

#import "WBHomeViewController.h"
#import "WBTestViewController.h"

@interface WBHomeViewController ()

@end

@implementation WBHomeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.navTitle = @"首页";
    
    self.customNavItem.leftBarButtonItem = [UIBarButtonItem setTitle:@"好友" fontSize:16 target:self action:@selector(showFriends) isBack:NO];
}

- (void)showFriends {
    WBTestViewController *vc = [[WBTestViewController alloc] init];
    [self.navigationController pushViewController:vc animated:YES];
}




@end
